# SECRET_KEY的字符值随便写,SECRET_KEY 是加密和解密的“钥匙”

SECRET_KEY = "abcdefghijklmn"
# 数据库配置信息
HOSTNAME = "localhost"
PORT = "3306"
DATABASE = "zhiliaooa"
USERNAME = "root"
PASSWORD = ""
# charset=utf8mb4 ,把utf8 换成 utf8mb4;原因：utf8mb4在数据库表中存储复杂的更多的特殊字符
DB_URI = "mysql+pymysql://{}:{}@{}:{}/{}?charset=utf8mb4".format(USERNAME, PASSWORD, HOSTNAME, PORT, DATABASE)
SQLALCHEMY_DATABASE_URI = DB_URI


# 邮箱配置信息授权码：vheefbemkninbaee
MAIL_SERVER = "smtp.qq.com"
# 是否需要加密
MAIL_USE_SSL = True
MAIL_PORT = 465
# 邮箱账号，改成自己发送验证码的邮箱148
MAIL_USERNAME = "xxx@qq.com"
# SMTP/IMAP授权码
MAIL_PASSWORD = "vheefbemkninbaee"

# 邮箱账号，改成自己的邮箱148
MAIL_DEFAULT_SENDER = "xxx@qq.com"
